Canonical Tree Representation of Distance Hereditary Graphs with Applications∗
نویسندگان
چکیده
The class of distance hereditary graphs consists of the isometric graphs. That is, for each pair of vertices, its distance is invariant for any induced path in a distance hereditary graph. In the paper, a canonical tree representation of a distance hereditary graph is proposed. A linear time algorithm for computing the tree representation is also presented. Hence the recognition problem and the graph isomorphism problem for the graph class can be solved in linear time, thanks to linear time isomorphism algorithm for labeled trees. The tree representation takes O(|V |) space for a distance hereditary graph G = (V,E). Hence it can be used as a compact data structure for the graph. It is so informative that all pruning sequences, which is a previously known characterization based on a vertex ordering, can be generated from the tree representation efficiently.
منابع مشابه
On the Laminar Structure of Ptolemaic and Distance Hereditary Graphs
Ptolemaic graphs are graphs that satisfy ptolemaic inequality for any four vertices. The graph class coincides with the intersection of chordal graphs and distance hereditary graphs. The graph class can also be seen as a natural generalization of block graphs (and hence trees). In this paper, a new characterization of ptolemaic graphs is presented. It is a canonical tree representation based on...
متن کاملLaminar Structure of Ptolemaic Graphs and Its Applications
Ptolemaic graphs are graphs that satisfy the Ptolemaic inequality for any four vertices. The graph class coincides with the intersection of chordal graphs and distance hereditary graphs, and it is a natural generalization of block graphs (and hence trees). In this paper, a new characterization of ptolemaic graphs is presented. It is a laminar structure of cliques, and leads us to a canonical tr...
متن کاملLaminar structure of ptolemaic graphs with applications
Ptolemaic graphs are those satisfying the Ptolemaic inequality for any four vertices. The graph class coincides with the intersection of chordal graphs and distance hereditary graphs. It can also be seen as a natural generalization of block graphs (and hence trees). In this paper, we first state a laminar structure of cliques, which leads to its canonical tree representation. This result is a t...
متن کاملLinear rank-width of distance-hereditary graphs II. Vertex-minor obstructions
In the companion paper [Linear rank-width of distance-hereditary graphs I. A polynomialtime algorithm, Algorithmica 78(1):342–377, 2017], we presented a characterization of the linear rank-width of distance-hereditary graphs, from which we derived an algorithm to compute it in polynomial time. In this paper, we investigate structural properties of distance-hereditary graphs based on this charac...
متن کاملOn the canonical metric representation of graphs and partial Hamming graphs
Average distance of a graph is bounded in terms of its canonical metric representation. The inequality in particular yields a characterization of isometric subgraphs of Hamming graphs which in turn simplifies recognition of these graphs and computation of average distance.
متن کامل